extends Node

var rooms: Array[Room]

func add_room(_room: Room) -> void:
	rooms.append(_room)

func every_room_win() -> bool:
	var win := true
	for room in rooms:
		if not room.has_soliders():
			win = false
	return win
